package demo2;

public class Test {
    public static void main(String[] args) {
        MySingleLinked test1 = new MySingleLinked();
        test1.addLast(1);
        test1.addLast(3);
        test1.addLast(5);
        test1.addLast(4);
        test1.addLast(6);
        test1.addLast(2);
        test1.show();
        System.out.println("===============");

        test1.show(test1.partition(test1.head, 6));
    }
}
       /* System.out.println(test1.size());
        System.out.println("==============");
        MySingleLinked.ListNode node =  test1.head;
        System.out.println(test1.kthToLast1(node, 5));*/
      /*  MySingleLinked test2 = new MySingleLinked();
        test2.addLast(1);
        test2.addLast(4);
        test2.addLast(6);
        MySingleLinked node1 = new MySingleLinked();
        MySingleLinked.ListNode node = node1.mergeTwoListsn(test1.head,test2.head);
        node1.show(node);*/

